<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>兑换码列表</title>
</head>
<body>
<h1>兑换码列表</h1>
<table>
    <thead>
    <tr>
        <th>ID</th>
        <th>代码</th>
        <th>创建时间</th>
    </tr>
    </thead>
    <tbody>
    <tr th:each="code : ${code_list}">
        <td th:text="${code.id}">ID</td>
        <td th:text="${code.token}">兑换码</td>
        <td th:text="${code.createTime}">创建时间</td>
    </tr>
    </tbody>
</table>
</body>
</html>
